projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
133319a
)
(smtpmail-send-data-1): Escape "." at the start of
author
Karl Heuer
<kwzh@gnu.org>
Mon, 15 Jul 1996 20:00:34 +0000
(20:00 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Mon, 15 Jul 1996 20:00:34 +0000
(20:00 +0000)
any line of data, not just lines containing nothing else.
lisp/mail/smtpmail.el
patch
|
blob
|
history
diff --git
a/lisp/mail/smtpmail.el
b/lisp/mail/smtpmail.el
index e6c076704498c2712d46999ec5a155d43b93c8d8..925a6ec2e838aad3c3357696ba8edcc911c6d5c4 100644
(file)
--- a/
lisp/mail/smtpmail.el
+++ b/
lisp/mail/smtpmail.el
@@
-404,10
+404,10
@@
don't define this value.")
(insert data "\r\n"))
(setq smtpmail-read-point (point))
- (process-send-string process data)
- ;; . -> ..
- (if (string-equal data ".")
+ ;; Escape "." at start of a line
+ (if (eq (string-to-char data) ?.)
(process-send-string process "."))
+ (process-send-string process data)
(process-send-string process "\r\n")
)